export default{
    savaUserName(state,username){
        state.username = username;
        localStorage.setItem('username',username);
    },
    userId(state,userId){
        state.userId = userId;
        localStorage.setItem('userId',userId);
    }
}